﻿@model MVC3AppCodeFirst.Models.Student

@{
    ViewBag.Title = "Create";
}



<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
        <fieldset class="Fieldset">
            <legend class="FormBorder">Student</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

     
            <input type="submit" value="Create" />
       
    </fieldset>
}


    @Html.ActionLink("Back to List", "Navigation", "Home")

